package studio.raptor.dispatcher.scheduler.exception;

/**
 * 注册中心异常.
 * @author jack
 * @since 1.0
 */
public class RegException extends RuntimeException{

  public RegException(final String errorMessage, final Object... args) {
    super(String.format(errorMessage, args));
  }

  public RegException(final Exception cause) {
    super(cause);
  }

}
